package com.lala.commom.remote;

import com.github.pagehelper.PageInfo;
import com.lala.commom.pojo.Kurse;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface KurseRemote11 {

    @RequestMapping(value = "/kurseAll")
    PageInfo<Kurse> kurseAll(@RequestParam("pageNum") int pageNum, @RequestParam("pageSize") int pageSize);

    @RequestMapping(value = "/kurseBy")
    PageInfo<Kurse> kurseBy(@RequestParam("pageNum") int pageNum, @RequestParam("pageSize") int pageSize, @RequestParam("courseid") int courseid, @RequestParam("gradeid") int gradeid);


}
